package com.tom.demo.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "文件响应数据")
public class FileResponse implements Serializable {
    private static final long serialVersionUID = 6575174057900991885L;
    /**
     * 文件名称
     */
    @ApiModelProperty(value = "文件名称")
    private String fileName;
    /**
     * 文件下载/预览地址
     */
    @ApiModelProperty(value = "文件下载/预览地址")
    private String fileDownloadUri;
    /**
     * 文件类型
     */
    @ApiModelProperty(value = "文件类型")
    private String fileType;
    /**
     * 文件大小
     */
    @ApiModelProperty(value = "文件大小")
    private long fileSize;
}